package com.slz3.business.module.goodsManagement.gooInWarehouse.service;

import com.slz3.business.module.goodsManagement.gooInWarehouse.domain.GooInWarehouse;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface GooInWarehouseService {

    GooInWarehouse save(GooInWarehouse gooInWarehouse);

    Page<GooInWarehouse> page(MultiValueMap<String, String> queryParams);

    GooInWarehouse modify(GooInWarehouse gooInWarehouse);

    Optional<GooInWarehouse> single(UUID uuid);

    List<GooInWarehouse> findAllByUuids(Iterable<UUID> uuids);

    List<GooInWarehouse> delete(List<GooInWarehouse> gooInWarehouseList);

}
